package com.mingmen.supplier.model;

import java.util.List;

public class CangKuModel {


    /**
     * code : 0
     * message : 操作成功
     * time : 2020-08-06 14:51:09
     * data : [{"warehouseId":"1","warehouse":"仓库1","linkman":"张三","linkTel":"13346233431","defaultFlag":"是","describe":"测试仓库","address":"道里区拉拉大街"}]
     */

    private int code;
    private String message;
    private String time;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * warehouseId : 1
         * warehouse : 仓库1
         * linkman : 张三
         * linkTel : 13346233431
         * defaultFlag : 是
         * describe : 测试仓库
         * address : 道里区拉拉大街
         */

        private String warehouseId;
        private String warehouse;
        private String linkman;
        private String linkTel;
        private String defaultFlag;
        private String describe;
        private String address;

        public String getWarehouseId() {
            return warehouseId;
        }

        public void setWarehouseId(String warehouseId) {
            this.warehouseId = warehouseId;
        }

        public String getWarehouse() {
            return warehouse;
        }

        public void setWarehouse(String warehouse) {
            this.warehouse = warehouse;
        }

        public String getLinkman() {
            return linkman;
        }

        public void setLinkman(String linkman) {
            this.linkman = linkman;
        }

        public String getLinkTel() {
            return linkTel;
        }

        public void setLinkTel(String linkTel) {
            this.linkTel = linkTel;
        }

        public String getDefaultFlag() {
            return defaultFlag;
        }

        public void setDefaultFlag(String defaultFlag) {
            this.defaultFlag = defaultFlag;
        }

        public String getDescribe() {
            return describe;
        }

        public void setDescribe(String describe) {
            this.describe = describe;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }
    }
}
